module.exports = {
    mysql:{
        database:'koa_test',//数据库名
        user:'root',//mysql用户名
        password:'123',//mysql密码
        PORT:'3306',//mysql端口号
        host:"127.0.0.1"//服务器IP
    },
    sequelize:{
        host:'127.0.0.1',
        dialect:'mysql',
        dialectOptions:{
            charset:'utf8mb4',
            collate:'utf8mb4_unicode_ci',
            supportBigNumbers:true,
            bigNumberStrings:true
        },
        pool:{
            max:5,
            min:0,
            acquire:30000,
            idle:10000
        },
        define:{
            freezeTableName:true,
            timestamps:false,
            paranoid:false,
            operatorsAliases:false
        },
        timezone:'+08:00'
    }
}
